gtk_widget_intersect: fix annotations
authorChristoph Reiter <reiter.christoph@gmail.com>
Thu, 30 Mar 2017 08:45:00 +0000 (10:45 +0200)
committerChristoph Reiter <creiter@src.gnome.org>
Thu, 30 Mar 2017 09:16:14 +0000 (11:16 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=773228

gtk/gtkwidget.c

index da9c2b2318fbf3903b891dd350f90663b955933d..5a79090354311ef28820e9dfc48d7ae4a387a447 100644 (file)
@@ -7892,7 +7892,8 @@ gtk_widget_reparent (GtkWidget *widget,
  * gtk_widget_intersect:
  * @widget: a #GtkWidget
  * @area: a rectangle
- * @intersection: (nullable): rectangle to store intersection of @widget and @area
+ * @intersection: (out caller-allocates) (optional): rectangle to store
+ *   intersection of @widget and @area
  *
  * Computes the intersection of a @widget’s area and @area, storing
  * the intersection in @intersection, and returns %TRUE if there was